package com.jieshuibao.model.db;

import java.util.Date;

public class QuestionUserAnswerRewardFlow {
	private String uuid;

	private String phoneNumber;

	private Date date;

	private Double money;

	private String content;

	private String imgs;

	private Integer status;

	private String realName;

	private String headImage;

	private int role;

	private String counselorDuty;

	private String answerUserPhones;

	private String levelName;

	private String position;
	
	private int lookNum;
	
	private long time;
	
	private String[] images;
	
	private String isAnon;
	
	private Integer integralScore;
	
	private String quTrade;
	
	private String area;
	
	
	private String quTax;
	
	private String quTopic;
	
	private String userName;
	
	
	
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getQuTax() {
		return quTax;
	}

	public void setQuTax(String quTax) {
		this.quTax = quTax;
	}

	public String getQuTopic() {
		return quTopic;
	}

	public void setQuTopic(String quTopic) {
		this.quTopic = quTopic;
	}

	public String getIsAnon() {
		return isAnon;
	}

	public void setIsAnon(String isAnon) {
		this.isAnon = isAnon;
	}

	public Integer getIntegralScore() {
		return integralScore==null ?0:integralScore;
	}

	public void setIntegralScore(Integer integralScore) {
		this.integralScore = integralScore;
	}

	public String getQuTrade() {
		return quTrade;
	}

	public void setQuTrade(String quTrade) {
		this.quTrade = quTrade;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String[] getImages() {
		String[] split=null;
		String imgs2 = getImgs();
		if(imgs2!=null&&!imgs2.equals("")){
			String replaceAl = imgs2.replaceAll("(\"|\\[|\\])", "");
			split = replaceAl.split(",");
			return split;
		}
		return images;
	}

	public void setImages(String[] images) {
		this.images = images;
	}
	public long getTime() {
		Date date2 = getDate();
		return time==0?date2.getTime():time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public int getLookNum() {
		return lookNum;
	}

	public void setLookNum(int lookNum) {
		this.lookNum = lookNum;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Double getMoney() {
		return money==null?0.0:money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getImgs() {
		return imgs;
	}

	public void setImgs(String imgs) {
		this.imgs = imgs;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	public int getRole() {
		return role;
	}

	public void setRole(int role) {
		this.role = role;
	}

	public String getCounselorDuty() {
		return counselorDuty;
	}

	public void setCounselorDuty(String counselorDuty) {
		this.counselorDuty = counselorDuty;
	}

	public String getAnswerUserPhones() {
		return answerUserPhones;
	}

	public void setAnswerUserPhones(String answerUserPhones) {
		this.answerUserPhones = answerUserPhones;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
	

}
